<div class="main_content">
	<table width="98%" name="tab_main" id="tab_main" class="tab_main" border="0" cellpadding="0" cellspacing="1" align="left">
	<thead>
		<tr>
			<th width="5%">序号</th>
			<th>转资单号</th>
			<th width="12%">转资金额</th>
			<!--<th>币种</th>-->
			<th width="12%">经办日期</th>
			<th>合同编号</th>
			<!--
			<th>附件ID</th>
			<th>后台用户ID</th>
			-->
			<th width="25%">操作</th>
		</tr>
	</thead>
	<tbody>
	{%foreach from=$arr item=arr_item%}
		<tr class="list_{%$arr_item.transfer_id%}">
			<td>
				{% if $recordArr[$arr_item.transfer_id] %}
					<div id="sign_{%$arr_item.transfer_id%}" class="sign_pm pcursor sign_plus" onclick="showList(this,{%$arr_item.transfer_id%})"></div>
				{% else %}
					<div class="sign_pm sign_minus"></div>
				{% /if %}
			</td>
			<td>{%$arr_item.transfer_from_no%}</td>
			<td>{%$arr_item.transfer_price%}</td>
			<!--<td>{%$arr_item.transfer_currency%}</td>-->
			<td>{%$arr_item.transfer_time|date_format:"%Y-%m-%d"%}</td>
			<td>{%$arr_item.contract_no%}</td>
			<!--
			<td>{%$arr_item.file_name%}</td>
			<td>{%$arr_item.admin_user_id%}</td>
			-->
			<td>
				<a href='index.php?c=zy_mc_transfer&m=browse&transfer_id={%$arr_item.transfer_id%}'>查看</a>&nbsp;&nbsp;
				<a href='index.php?c=zy_mc_transfer&m=edit&transfer_id={%$arr_item.transfer_id%}'>修改</a>&nbsp;&nbsp;
				<a href='index.php?c=zy_mc_transfer&m=del&transfer_id={%$arr_item.transfer_id%}'>删除</a>&nbsp;&nbsp;
				<a href='index.php?c=zy_mc_transfer_log&m=add&transfer_id={%$arr_item.transfer_id%}&contract_no={%$arr_item.contract_no%}'>转资</a>&nbsp;&nbsp;				
			</td>
		</tr>
		
		<tr class="hide_chunk">
			<td colspan="6">
				<div class="arrow_open"></div>
				
				<div class="load_list">
					<table width="96%" name="tab_sub" id="tab_sub" class="tab_sub" border="0" cellpadding="0" cellspacing="1" align="left">
					<thead>
						<tr>
							<th width="5%">序号</th>
							<th width="20%">财务编号</th>
							<th width="20%">厂家编号</th>
							<!--<th>转资ID</th>-->
							<th>转资备注</th>
							<!--<th>转资数量</th>-->
							<!--<th width="15%">操作</th>-->
						</tr>
					</thead>
					<tbody>	
						{%if $recordArr[$arr_item.transfer_id]%}
							{%foreach item=list from=$recordArr[$arr_item.transfer_id] name=log%}
							<tr>
								<td>{%math equation="x + 1" x=$smarty.foreach.log.index%}</td>
								<td>{%$list.finance_no%}</td>
								<td>{%$list.comp_no%}</td>
								<!--<td>{%$list.transfer_id%}</td>-->
								<td>{%$list.transfer_info%}</td>
								<!--<td>{%$list.transfer_no%}</td>-->								
								<!--
								<td>
									<a href='index.php?c=zy_mc_transfer_log&m=browse&transfer_log_id={%$list.transfer_log_id%}'>查看</a>&nbsp;&nbsp;
									<a href='index.php?c=zy_mc_transfer_log&m=edit&transfer_log_id={%$list.transfer_log_id%}'>修改</a>&nbsp;&nbsp;
									<a href='index.php?c=zy_mc_transfer_log&m=del&transfer_log_id={%$list.transfer_log_id%}'>删除</a>
								</td>
								-->
							</tr>
							{%/foreach%}
						{%/if%}
					</tbody>	
					</table>
				</div>
			</td>
		</tr>
		
	{%/foreach%}
	</tbody>
	{%if $arr_item %}
	<tfoot>
		<tr>
			<td colspan="6"><div id="pager">{%$page_footer%}</div></td>
		</tr>
	</tfoot>
	{%/if%}
	</table>
	<!--
	<div class="btn_list">
		<span class="btn_add" onclick="location.href='?c=zy_mc_transfer&m=add'">添 加</span>
	</div>
	-->
</div>